package net.alpcontrol.bi.colligation.service;

import net.alpcontrol.bi.colligation.entity.PjProjectBuilding;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.alpcontrol.bi.colligation.entity.po.ProjectBuildingPo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 丛庆
 * @since 2020-09-11
 */
public interface IPjProjectBuildingService extends IService<PjProjectBuilding> {

    /**
      *  分页查询
      * @param bootStrapTable
      * @param pjProjectBuilding
      * @return
      */
    IPage<PjProjectBuilding> selectPage(Page<PjProjectBuilding> page);

    List<ProjectBuildingPo> getByName(String projectName);

    List<ProjectBuildingPo> getByXmbm(String xmbm);

    Map getKpiByXmbm(String xmbm);
}
